package com.cmes.system;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * 模块初始化类
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@Slf4j
@MapperScan("com.cmes.system.core.repository")
@ComponentScan({"com.cmes.system.core", "com.cmes.system.web"})
@Configuration
public class SystemModuleInitializer {

    @PostConstruct
    public void init() {
        log.info("Initializing system module");
    }

}
